/*
 * Lenovo Group
 * Copyright (c) 2015-2016 All Rights Reserved.
 * 
 * Project Name:lmrp-base
 * Create Time: 2016年3月4日 下午4:28:34
 */
package com.lenovo.lmrp.base;

/**
 * 
 * @author wujin
 * @version v1.0
 */
public class ParamNameDef {
    // REST server config parameter name
    public static final String REST_SERVER_HOST = "rest.server.host";
    public static final String REST_SERVER_PORT = "rest.server.port";
    public static final String REST_SERVER_SSL = "rest.server.ssl";
    public static final String REST_SERVER_CONTEXT = "rest.server.context";
    public static final String REST_API_SCANPATH = "rest.api.scanpath";
    
    // Database config parameter name
    public static final String DB_HOST = "db.connection.host";
    public static final String DB_PORT = "db.connection.port";
    public static final String DB_URL = "db.connection.url";
    public static final String DB_USER = "db.connection.user";
    public static final String DB_PASSWD = "db.connection.password";
    public static final String DB_DATA_REPLIC = "db.data.replication";
    public static final String DB_SHOWSQL = "db.connection.showsql";
    public static final String DB_NAME = "db.schema.name";
    
    // MQ config parameter name
    /** optoin value: ZEROMQ, ACTIVIEMQ */
    public static final String MQ_SERVER_TYPE = "mq.server.type";
    public static final String MQ_SERVER_HOST = "mq.server.host";
    public static final String MQ_SERVER_PORT = "mq.server.port";
    public static final int MQ_DEFAULT_PORT = 5566;
    
    // file and ftp config parameter name
    /** option value:local, remote */
    public static final String FILE_SERVER_TYPE = "file.server.type";
    public static final String FILE_ROOT_PATH = "file.rootpath";
    public static final String FILE_SERVER_HOST = "file.server.host";
    public static final String FILE_SERVER_PORT = "file.server.port";
    public static final String FILE_SERVER_USER = "file.server.username";
    public static final String FILE_SERVER_PASSWD = "file.server.password";
    /** FTP transform data mode can be localpassive, remotepassive, localactive */
    public static final String FILE_SERVER_FTPMODE = "file.server.ftpmode";
    public static final String FILE_SERVER_ENCODING = "file.server.encoding";
    
    public static final String LOCAL_FILE_SERVER = "local";
    public static final String REMOTE_FILE_SERVER = "remote";
    
    // mail server parameter name
    public static final String MAIL_SERVER_HOST = "mail.server.host";
    public static final String MAIL_SERVER_USER = "mail.server.user";
    public static final String MAIL_SERVER_PASSWD = "mail.server.password";
    public static final String MAIL_SERVER_AUTH = "mail.server.auth";
    
    public static final String HTTP_PROXY_HOST = "http.proxy.host";
    public static final String HTTP_PROXY_PORT = "http.proxy.port";
    
    public static final String APPGW_API_SCANPATH = "appgateway.api.scanpath";
    public static final String ITSMGW_API_SCANPATH = "itsmgateway.api.scanpath";
    public static final String TRACE_API_SCANPATH = "assigntrace.api.scanpath";
    public static final String EVENT_API_SCANPATH = "eventrecorder.api.scanpath";
    
    public static final String APPGW_API_URL = "appgateway.api.url";
    public static final String ITSMGW_API_URL = "itsmgateway.api.url";
    public static final String TRACE_API_URL = "assigntrace.api.url";
    public static final String EVENT_API_URL = "eventrecorder.api.url";
    
    public static final String CACHE_SERVER_NODE = "cache.server.node";
}
